package com.example.anydo.bean;

public class UserBean {

    int code;
    String msg;
    DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean{

        private int id;
        private String name;
        private String createTime;
        private int historyTaskNum = 0;
        private int historyDoneTaskNum = 0;
        private int todayTaskNum = 0;
        private int todayDoneTaskNum = 0;
        private int waitTaskNum = 0;


        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getHistoryTaskNum() {
            return historyTaskNum;
        }

        public void setHistoryTaskNum(int historyTaskNum) {
            this.historyTaskNum = historyTaskNum;
        }

        public int getHistoryDoneTaskNum() {
            return historyDoneTaskNum;
        }

        public void setHistoryDoneTaskNum(int historyDoneTaskNum) {
            this.historyDoneTaskNum = historyDoneTaskNum;
        }

        public int getTodayTaskNum() {
            return todayTaskNum;
        }

        public void setTodayTaskNum(int todayTaskNum) {
            this.todayTaskNum = todayTaskNum;
        }

        public int getTodayDoneTaskNum() {
            return todayDoneTaskNum;
        }

        public void setTodayDoneTaskNum(int todayDoneTaskNum) {
            this.todayDoneTaskNum = todayDoneTaskNum;
        }

        public int getWaitTaskNum() {
            return waitTaskNum;
        }

        public void setWaitTaskNum(int waitTaskNum) {
            this.waitTaskNum = waitTaskNum;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", historyTaskNum=" + historyTaskNum +
                    ", historyDoneTaskNum=" + historyDoneTaskNum +
                    ", todayTaskNum=" + todayTaskNum +
                    ", todayDoneTaskNum=" + todayDoneTaskNum +
                    ", waitTaskNum=" + waitTaskNum +
                    '}';
        }
    }

}
